# 搞一个变量，变量中放一个人的名字，年龄，性别，特长
# 打印口头禅
# 打印自我介绍

class People:
    def __init__(self, name, age, sex, techang, ktc, zwjs):
        print('调用了__init__初始化函数')
        self.name = name
        self.age = age
        self.sex = sex
        self.techang = techang
        self.ktc = ktc
        self.zwjs = zwjs

    def koutouchan(self):
        print(self.ktc)

    def introduceMyself(self):
        print(self.zwjs)


techang = ['唱', '跳', 'rap', '篮球']
caixukun = People(name='蔡徐坤', age=23, sex='男', techang=techang, ktc='你干嘛唉哟', zwjs='练习时长三年半')
caixukun.koutouchan()
caixukun.introduceMyself()
print(caixukun.name)
